package com.wzdigit.wms.raw.client.response.initialize.report;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.wzdigit.wms.raw.client.request.initialize.report.ImportInvTempRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 导入库存初始化报表返回信息
 * Created by zyf on 2021/8/23 14:40
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class ImportInvTempResponse {

    private static final long serialVersionUID = 6072692023040146906L;

    @ApiModelProperty(value = "失败数量")
    private Integer failureCount;

    @ApiModelProperty(value = "成功数量")
    private Integer succeessCount;

    @ApiModelProperty(value = "错误信息")
    private String fileUrl;

    @ApiModelProperty(value = "失败记录")
    private List<ImportInvTempErrorResponse> items;

}
